package com.easylinkin.linkappapi.grid.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 网格隐患列表VO
 *
 * @author kyj
 * @date 2024/5/27 16:49
 */
@ApiModel(description = "网格隐患列表VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GridHiddenDangerListVO implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id", position = 1)
    private String id;

    /**
     * 网格id
     */
    @ApiModelProperty(value = "网格id", position = 2)
    private Integer gridId;

    /**
     * 网格名称
     */
    @ApiModelProperty(value = "网格名称", position = 3)
    private String gridName;

    /**
     * 反馈文字/整改要求/检查项
     */
    @ApiModelProperty(value = "反馈文字/整改要求/检查项", position = 4)
    private String rectifyRequirements;

    /**
     * 反馈语音
     */
    @ApiModelProperty(value = "反馈语音", position = 5)
    private GridFileInfoVO rectifyVoice;

    /**
     * 反馈图片、现场图片，多个图片名称以逗号拼接
     */
    @ApiModelProperty(value = "反馈图片、现场图片，多个图片名称以逗号拼接", position = 6)
    private String scenePhoto;

    /**
     * 所属单位/参建单位id
     */
    @ApiModelProperty(value = "所属单位/参建单位id", position = 7)
    private String linkUnitId;

    /**
     * 所属单位/参建单位
     */
    @ApiModelProperty(value = "所属单位/参建单位", position = 8)
    private String linkUnitName;

    /**
     * 指派人/整改人id
     */
    @ApiModelProperty(value = "指派人/整改人id", position = 9)
    private String rectifyUid;

    /**
     * 指派人/整改人
     */
    @ApiModelProperty(value = "指派人/整改人", position = 10)
    private String rectifyName;

    /**
     * 状态：0：待整改，1：待复查，2：合格，3：无需整改'
     */
    @ApiModelProperty(value = "状态：0：待整改，1：待复查，2：合格，3：无需整改'", position = 11)
    private Integer status;

    /**
     * 反馈人/创建人id
     */
    @ApiModelProperty(value = "反馈人/创建人id", position = 12)
    private Long createUid;

    /**
     * 反馈人/创建人
     */
    @ApiModelProperty(value = "反馈人/创建人", position = 13)
    private String creator;

    /**
     * 反馈人/创建人手机号
     */
    @ApiModelProperty(value = "反馈人/创建人手机号", position = 13)
    private String createPhone;

    /**
     * 反馈人/创建时间
     */
    @ApiModelProperty(value = "反馈人/创建时间", position = 14)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
